<table class="content_table" border="0" cellpadding="0" cellspacing="0" width="542" align="left" >
  <tr>
    <td bgcolor="#ececec" width="542" class="menu2_4">&nbsp;</td>
  </tr>
  <tr>
    <td height="200" style="padding:20px; " align="center" valign="top"  width="542"><table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><img src="{$tmpd_url}images/image_65.gif" /></td>
          <td class="marg_n8" width="500" align="center">{if $trimis!=''}Mesaj trimis. In scurt timp va  com contacta.{else} OFERTE DOSAR{/if}</td>
          <td><img src="{$tmpd_url}images/image_69.gif" /> </td>
        </tr>
      </table>
      <br class="clear" />
      {if $oferte!=''}
      <div class="tabel_afis_colt1">&nbsp;</div>
      <div class="tabel_afis_middle imobil ac"><span>TIP IMOBIL</span></div>
      <div class="tabel_afis_middle zona ac"><span>ZONA</span></div>
      <div class="tabel_afis_middle pret ac"><span>PRET</span></div>
      <div class="tabel_afis_middle detalii ac">&nbsp;</div>
      <div class="tabel_afis_colt2">&nbsp;</div>
      <br class="clear" />
      {section name='it' loop=$oferte}
      <div {if ($smarty.section.it.rownum%2)==0} class="td2"	{else}class="td1"{/if} >
        <div class="imobil2 ac"> {assign var='tip_imobil' value=$oferte[it].tip}{$tip[$tip_imobil]}<br />
        </div>
        <div class="zona2"> {if $oferte[it].parent!=''} <span>{$oferte[it].parent} -</span>{/if} <span>{$oferte[it].name}</span> 
         </div>
        <div class="pret2"> {assign var='valuta_oferta' value=$oferte[it].pret_tip}
          {$oferte[it].pret}{if ($oferte[it].pret_tip==0)} EURO &nbsp;{/if}   {$valuta[$valuta_oferta]}<br />
        </div>
        <div class="detalii2 text_rosu"><a href="javascript:void(0)" onclick="window.open('descriere.php?id={$oferte[it].id}', 'TIMONA_TRUST', 'width=600,height=400,left=50,top=100,scrollbars=1')"><span>Detalii ></span></a> <a href="dosar.php?sterge={$oferte[it].id}"><span class="text_albastru">Sterge </span></a></div>
      </div>
      <br class="clear" />
      {/section}
      
      <table border="0" cellpadding="0" cellspacing="5" bgcolor="#DFDFDF" width="497" align="left">
        <tr>
          <td><form action="dosar.php#oferta" method="post">
              <table  border="0" cellspacing="0" align="center">
                <tr>
                  <td colspan=2 >&nbsp;</td>
                </tr>
                <tr>
                  <td colspan=2 class="text_albastru" align=center><b>Detalii contact</b><br><br></td>
                </tr>
                <tr>
                  <td class="textTitleM " align="right" width="160">Numele Dvs. :</td>
                  <td align="left">
                    <input type="text" name="nume" class="select3 bb" { if ($trimis!=1) } value="{$smarty.post.nume}" {/if}  />
                  </td>
              </tr>
                <tr>
                  <td class="textTitleM " align="right">Telefonul Dvs. :</td>
                  <td align="left">
                    <input type="text" name="telefon"  class="select3 bb" { if ($trimis!=1)} value="{$smarty.post.telefon}" {/if} />
                 </td>
              </tr>
                <tr>
                  <td class="textTitleM " align="right">E-mailul Dvs. :</td>
                  <td align="left">
                    <input type="text" name="email"  class="select3 bb" { if ($trimis!=1)} value="{$smarty.post.email}" {/if}/>
                 </td>
              </tr>
                <tr>
                  <td height="40" colspan="2"><input type="hidden" name="o" value="suprise"></td>
                </tr>
                <tr>
                  <td class="textTitleM " align="right">Mesaj :</td>
                  <td align="left"><textarea cols="29" rows="5" name="mesaj" class="select3TextA">{ if ($trimis!=1)}{$smarty.post.mesaj}{/if}</textarea></td>
                </tr>
                 <td width="120" height="22" align="right" class="textTitleM" >Completati codul de mai jos :</td>
                <td align="left" ><input name="number" type="text"  class="select3" ></td></tr> 
                <tr><td colspan=2 align="center"><img src="random_image_sample.php"></td></tr> 
                <tr>
                  <td colspan="2" align="center" height="60" ><input type="submit" name="trimite" value="TRIMITE" class="ok mm"><br class="clear" /><br class="clear" /> <span class="text_rosu" style="color:#FF3300;"> {if $eroare!=''}    {$eroare} <br>  {/if} 
                  Toate Campurile sunt Obligatorii !</span></td>
                  </form>
                </tr>
              </table>
            
      </table>
      {/if} </td>
  </tr>
  <tr>
    <td height="200px"></td>
  </tr>
</table>
